<div class="breadcrumb">
    <?php foreach($template['breadcrumbs'] AS $breadcrumb): ?>
    <?php if(!empty($breadcrumb['uri'])) : ?>
    	<?php echo anchor($breadcrumb['uri'], $breadcrumb['name']); ?> <span style="color:#C0C1C4;">|</span> 
    <?php else : ?>
    	<span><?php echo $breadcrumb['name']; ?></span>
    <?php endif; ?>
    <?php endforeach; ?>
</div>